package cn.liyao.web.model;



import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Entity
@Data
@Table(name = "t_groups")
public class Group {

    @Id
    @Column(unique = true,columnDefinition = "VARCHAR(64)")
    private String groupId;

    private String groupName;

    private String portrait;

    @Column(columnDefinition = "VARCHAR(64)")
    private String creator;

    @Transient
    private String remark;

    private Date createTime;



    @Transient
    private GroupNotice notice;


}